<div class="main">
	<{include file="index/menu" /}>
	<div class="app">
		<div class="search_warp">
			<span id="classify" class="classify"><a href="javascript:;" class="btn btn-left btn-type"></a></span>
			<div class="search" style="float: none;">
				<form name="search" action="<{:url('goods/slists')}>" method="get" id="search">
					<div class="seek_main">
						<input type="text" name="keyword" class="seek_input seek_input_f" placeholder="搜索商品" autocomplete="off"  value="">
						<button type="submit" class="seek_btn" value="搜本站"><img src="/static/jwap/images/search.png"></button>
					</div>
				</form>
			</div>
		</div>
		<header id="head" class="head">
		<div class="fixtop">
			<span id="classify" class="classify">
			<a href="javascript:;" class="btn btn-left btn-type"></a>
			</span>
			<span id="t-index"><{$sys['title']}></span>
		</div>
		</header>
		<script type="text/javascript" src="/static/jwap/js/swipeSlide.min.js"></script>
		
	<{include file="index/slide" /}>
		<div id="ct">
			<link rel="stylesheet" type="text/css" href="/static/jwap/css/zhuanti.css">
			<div class="index_w">
				<ul class="category">
				<{volist name="nav1" id="v"}>
					<li class="ffxgo_1" data-url="<{$v.url}>">
					<span>
						<img src="/<{$v.pic}>" alt="<{$v.title}>">
					</span>
					<strong><{$v.title}></strong>
					</li>
				<{/volist}>
				</ul>
				<script type="text/javascript"> $(".ffxgo_1").off("click").on("click",function(){
				       window.location.href = $(this).attr("data-url");
				  });
				</script>
				<div id="goods">
					<section class="goods" id="goods">
					
					<div search_url="<{:url('goods/getlists')}>">
						<input type="hidden" name="cat_id"  value="100all" />
						<input type="hidden" name="keyowrd" value="" />
						<input type="hidden" name="orderby" value="sort" />
					</div>
					<ul class="goods-list clear" id="com_body">
						<{volist name="goods" id="v"}>
						<li clear="clear">
							<a class="goods-a" href="<{:url('goods/detail','id='.$v['id'].'&u='.$userinfo['id'])}>" target="_self">
							<img src="<{$v.pic}>" class="lazy" d-src="<{$v.pic}>">
							</a>
							<a href="<{:url('goods/detail','id='.$v['id'].'&u='.$userinfo['id'])}>"  rel="nofollow">
							<h3>
							<b class="atitle"><{$v.title}></b>
							</h3>
							<div class="list-price buy clear">
								<p>
									<{if condition="$v.is_baoyou==0"}><a href="<{:url('goods/detail','id='.$v['id'].'&u='.$userinfo['id'])}>" class="abaoyou">包邮</a><{/if}><a href="<{:url('goods/detail','id='.$v['id'])}>" class="aquan"><{:number_format($v.coupon_price)}>元优惠券</a>
								</p>
								<p style="margin:5px 0px;" class="clear">
								<span class="span1">券后&nbsp;&nbsp;<b style="font-size:18px;"><{$v.quanhou_price}></b></span> 
								<span class="span2">已售<{$v.coupon_num}></span>
								</p>
								<p style="margin-bottom:5px;" class="clear">
									<a  href="<{:url('goods/detail','id='.$v['id'].'&u='.$userinfo['id'])}>" class="a1">领券购买</a>
								 	<a  href="javascript:;" tid="$v['id']" onclick="fenxiang(this)" class="a2">
								 	<span><img src="/static/jwap/images/share.png" class="img1">分享</span>
								 	</a>
								</p>
							</div>
							</a>
						</li>
						<{/volist}>
					</ul>
					</section>
					<div class="paging">
						<div class="paging-nav" id="com_page">
						</div>
					</div>
				</div>
			</div>
			<script type="text/javascript" src="/static/jwap/js/jp.common.js"></script>
			<script type="text/javascript">
            $(function(){
            function hideMenu() {
                setTimeout("window.scrollTo(0, 0)", 1);
            }
            $('.alert_black_bg .close').on('click', function(){
                $('.alert_black_bg').hide();
                $('#foot').height(120);
            });
            });
            $(".go-app .closed").on("click",function(){
                $(".go-app").hide();
                return false;
            })
			</script>
		</div>
		<{include file="layout/footer" /}>
	</div>
</div>
<script>
$(document).ready(function(){
	com_search(1);
});
</script>			